<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<%@ include file="/WEB-INF/jsp/front/inc/taglibs.jsp"%>
<%@ include file="/WEB-INF/jsp/front/cms/brand/meta.jsp"%>
<link rel="stylesheet" href="${approot}/static/style/cms/brand/css/base.css" type="text/css">
<link rel="stylesheet" href="${approot}/static/style/cms/brand/css/index.css" type="text/css">
<link rel="stylesheet" href="${approot}/static/style/cms/brand/css/article.css" type="text/css">
<link rel="stylesheet" href="${approot}/static/style/cms/brand/css/page.css" type="text/css">
<script type="text/javascript" src="${approot}/static/style/cms/brand/js/index.js"></script>
<script type="text/javascript" src="${approot}/static/style/cms/brand/js/header.js"></script>
<script type="text/javascript" src="./index_files/jquery.js"></script>
<script type="text/javascript" src="./index_files/jquery.tools.js"></script>
<!--[if lte IE 6]>
	<script type="text/javascript" src="/template/common/js/belatedPNG.js"></script>
	<script type="text/javascript">
		// 解决IE6透明PNG图片BUG
		DD_belatedPNG.fix(".belatedPNG");
	</script>
<![endif]-->
</head>
<body class="index">
 <c:import url="${webroot}/cms/brand/header"></c:import>
	<div class="body">
		<div class="bodyLeft">
		      <!-- 商标分类 -->
    <c:import url="${webroot}/cms/brand/cates"></c:import>	
	
      	<div class="blank"></div>
	
	<div class="a_divtext">
      <div class="Supply">
      <div class="article">
       <h1><strong>${category.name}</strong></h1>
      <div class="gygrzx_main_right_main_text">

                            <ul>

                  <c:choose>
<c:when test="${fn:length(page.items)<1}">
<tr align="center"><td colspan="6"><font color='red'>${page.noDataMSG}</font></td></tr>
</c:when>
<c:otherwise> 
<c:forEach var="item" items="${page.items}">               
            <li><a target="_blank" href="${approot}/cms/brand/news/detail/${item.id}"> ${item.title }</a> <span><fmt:formatDate value="${item.addTime}" pattern="yyyy-MM-dd"/></span></li>
               </c:forEach>
 </c:otherwise>
</c:choose>

                            </ul>

                        </div>

                        <div style="clear: both;">

                        </div>

						<div style=" font-size:12px;">

<div id="AspNetPager1" style="width:100%;text-align:center;">
	<a style="margin-right:5px;" href="${approot}/cms/brand/news/page/${parentId}/${pageSize}/${page.firstIndex}">首页</a>
	<a style="margin-right:5px;" href="${approot}/cms/brand/news/page/${parentId}/${pageSize}/${page.previousIndex}">上一页</a>
		<c:forEach items="${page.showpages}" var="ind">
				<c:if test="${ind!=0}">
					<c:choose>
						<c:when test="${ind==page.currentPage}">
	                    <span style="margin-right:5px;font-weight:Bold;color:red;">${ind}</span>
		                </c:when>
						<c:otherwise>
					<a style="margin-right:5px;" href="${approot}/cms/brand/news/page/${parentId}/${pageSize}/${(ind-1)*page.pageSize}">${ind}</a>
						</c:otherwise>
					</c:choose>
							</c:if>
			</c:forEach>
	<a style="margin-right:5px;" href="${approot}/cms/brand/news/page/${parentId}/${pageSize}/${page.nextIndex}">下一页</a>
	<a style="margin-right:5px;" href="${approot}/cms/brand/news/page/${parentId}/${pageSize}/${page.lastIndex}">末页</a>
</div>

						</div>
    
        <div class="height"></div>

      </div>
      </div>
      </div>
      <!-- news -->
   
</div>
 <c:import url="${webroot}/cms/brand/right"></c:import>

	<div class="blank"></div>
 <c:import url="${webroot}/cms/brand/footer"></c:import>

</body></html>